import Loader from "./Loader"
import cjs=createjs
//import createjs from "../createjs"
class Hero extends cjs.MovieClip {
    bullet0:cjs.MovieClip
    bullet1:cjs.MovieClip
}
class EnemyCountInfo extends cjs.MovieClip{
    txt_count:cjs.Text
}
class GoldCoinInfo extends cjs.MovieClip{
    txt_count:cjs.Text
}
class HomeBG extends cjs.MovieClip{
    bt_start:cjs.MovieClip
    fence:cjs.MovieClip
    cloud0:cjs.MovieClip
    cloud1:cjs.MovieClip
}
export default class Global{
    static stageWidth=0
    static stageHeight=0
    static scale=1
    static loader=new Loader()
    static config={}
    //static compositionId=''
    static comp={
        getLibrary(){
            return {
                properties:{manifest:new Array},
                ssMetadata:new Array,
                Hero:Hero,
                BgBitmap:cjs.Bitmap,
                EnemyBitmap:cjs.Bitmap,
                Bullet:cjs.MovieClip,
                Bomb:cjs.MovieClip,
                EnemyCountInfo:EnemyCountInfo,
                GoldCoinInfo:GoldCoinInfo,
                HomeBG:HomeBG,
                SignInButton:cjs.MovieClip,
                SignInDay:cjs.MovieClip,
                Digit:cjs.MovieClip,
                PinkButtonBG:cjs.MovieClip
            }
        },
        getImages():any{},
        getSpriteSheet():any{}
    }
    static getLibrary=()=>{
        return this.comp.getLibrary()
    }
    static getImages=()=>{
        return this.comp.getImages()
    }
    static getSpriteSheet=()=>{
        return this.comp.getSpriteSheet()
    }
}